﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ControlCore.Controller
{
    public class ControllerCommandEventArgs : EventArgs
    {
        /// <summary>
        /// Command enum that represent one of available control commands
        /// </summary>
        private readonly ControlCommand _command;
        public ControlCommand Command { get { return _command; } }

        /// <summary>
        /// Value associated with command
        /// </summary>
        private readonly double _value;
        public double Value { get { return _value; } }

        public ControllerCommandEventArgs(ControlCommand command, double value)
        {
            _command = command;
            _value = value;
        }
    }
}
